/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-09-27  18:28
 */
public class Test {
    public static void main(String[] args) {
        MySingleLinkList mySingleLinkList = new MySingleLinkList();
        mySingleLinkList.addFirst(12);
        mySingleLinkList.addFirst(23);
        mySingleLinkList.addFirst(34);
        mySingleLinkList.addFirst(45);
        mySingleLinkList.addFirst(56);

        mySingleLinkList.display();

        mySingleLinkList.addLast(99);

        mySingleLinkList.display();
        
    }
}
